package com.zhifa.bigfileupload.service;

import com.zhifa.bigfileupload.constance.FileConstance;
import com.zhifa.bigfileupload.domain.FileTb;
import com.zhifa.bigfileupload.mapper.FileTbMapper;
import com.zhifa.bigfileupload.mapper.XssTbMapper;
import com.zhifa.bigfileupload.pojo.XssPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;

import java.util.List;

@Service
public class XssTbService {
    @Autowired
    private XssTbMapper xssTbMapper;

    public void save(String title) {
        xssTbMapper.save(title);
    }
    public List<XssPojo> search() {
        return xssTbMapper.search();
    }

}
